package com.dhcc.bpm.modules.sandbox.service;

import com.dhcc.bpm.modules.sandbox.entity.SandboxCase;
import com.dhcc.bpm.modules.sandbox.vo.SandboxCaseVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName ISandboxCaseService
 * @Description 沙箱实例表 服务类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ISandboxCaseService extends BaseService<SandboxCase> {

	/**
	 * @Description 自定义分页
	 * @Author sjm
	 * @Date 9:58 2020/2/22 0022
	 * @param page
	 * @param sandboxCase
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.sandbox.vo.SandboxCaseVO>
	 **/
	IPage<SandboxCaseVO> selectSandboxCasePage(IPage<SandboxCaseVO> page, SandboxCaseVO sandboxCase);

	/**
	 * @Description 沙箱管理新增或修改
	 * @Author sjm
	 * @Date 9:58 2020/2/22 0022
	 * @param sandboxCase
	 * @return boolean
	 **/
	boolean modifySandboxCase(SandboxCase sandboxCase);

	/**
	 * @Description 沙箱查询
	 * @Author sjm
	 * @Date 9:58 2020/2/22 0022
	 * @param appId
	 * @return boolean
	 **/
	SandboxCase selectSandboxCaseByAppId(Long appId);
}
